home *** CD-ROM | disk | FTP | other *** search
/ Gigarom 1 / Gigarom Macintosh Archives (Quantum Leap)(CDRM1080320)(1993).iso / FILES / HYP / H-I / HypertalkTools.cpt / Resource Copier / card_3881.txt < prev    next >
Text File  |  1989-02-26  |  985b  |  18 lines

  1. -- card: 3881 from stack: in
  2. -- bmap block id: 0
  3. -- flags: 0000
  4. -- background id: 2808
  5. -- name: 
  6.  
  7.  
  8. -- part contents for background part 5
  9. ----- text -----
  10.      In addition to moving XCMD and XFCN resources, my ResCopy command will copy ANY named resource. This means it can be used for sound resources, icons, or anything else that you may wish to have moved to another stack by the user.
  11.  
  12.      The real power of this method isn't in the ResCopy XCMD itself, but in the HyperTalk scripting. I use two scripts, one of them modifies the other. I use the stack script to modify a card button script. This card button is the button that the user can copy and paste into another stack to move the resources.
  13.  
  14.      Each time the stack is opened, the stack script makes sure that the button script has the current complete pathname of the stack. This stack, of course, is the one with the resources you want users to be able to copy.
  15.  
  16. -- part contents for background part 7
  17. ----- text -----
  18. 4